<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<div class="content">
	<form >
		<input type="hidden" name="configId" value="${rule!=null?rule.configId:configId }" />
		<input type="hidden" name="id" value="${rule.id }" />
		<table class="noborder">
			<tr>
				<td width="80">字段名</td>
				<td><input type="text" name="name" value="${rule.name }"/></td>
			</tr>
			<tr>
				<td>类型</td>
				<td><select name="type" >
					<option value="1" ${rule.type==1?'selected="selected"':'' } >正则</option>
					<option value="2"  ${rule.type==2?'selected="selected"':'' }>jsoup</option>
				</select></td>
			</tr>
			<tr>
				<td>规则</td>
				<td><input type="text" name="rule"  value="${rule.rule }"/></td>
			</tr>
		</table>
	</form>
</div>